/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.diplomka.datalayer.entity;

import cz.fi.muni.diplomka.common.enumeration.ColorType;
import cz.fi.muni.diplomka.common.enumeration.TitleType;

/**
 * Class representing Player Entity
 *
 * @author Jakub Kutil
 */
public class PlayerEntity {

    private Long id;
    private String nickName;
    private String hashedPassword;
    private ColorType color;
    private TitleType title;

    public PlayerEntity() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHashedPassword() {
        return hashedPassword;
    }

    public void setHashedPassword(String hashedPassword) {
        this.hashedPassword = hashedPassword;
    }

    public ColorType getColor() {
        return color;
    }

    public void setColor(ColorType color) {
        this.color = color;
    }

    public TitleType getTitle() {
        return title;
    }

    public void setTitle(TitleType title) {
        this.title = title;
    }
}
